//
//  SEGIBluetooth.h
//  ExcellentHome
//
//  Created by Chiang on 16/8/3.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import<CoreBluetooth/CBService.h>

@protocol SEGIBluetoothDelegate

@optional
-(void)connectSucceed;
-(void)connectFail;
-(void)didWriteData;

@end

@interface SEGIBluetooth : NSObject

@property(nonatomic,assign) id<SEGIBluetoothDelegate>delegate;
@property(nonatomic,strong) NSString * deviceName;

-(void)setUp;

+ (SEGIBluetooth *)sharedManager;

@end
